<%@ Page Language="C#" AutoEventWireup="true" CodeFile="MediaEdit.aspx.cs" Inherits="admin_MediaAdd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        &nbsp;<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True"
            AutoGenerateColumns="False" DataSourceID="ObjectDataSource1"
            EmptyDataText="There are no data records to display." BackColor="White" BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" CellPadding="3" CellSpacing="1" GridLines="None" AutoGenerateDeleteButton="True" AutoGenerateEditButton="True" AutoGenerateSelectButton="True" ShowFooter="True">
            <Columns>
                <asp:CommandField ShowEditButton="True" ShowSelectButton="True" />
                <asp:BoundField DataField="PosterId" HeaderText="PosterId" SortExpression="PosterId" />
                <asp:BoundField DataField="DateAdded" HeaderText="DateAdded" SortExpression="DateAdded" />
                <asp:BoundField DataField="CatalogNumber" HeaderText="CatalogNumber" SortExpression="CatalogNumber" />
                <asp:BoundField DataField="Id" HeaderText="Id" SortExpression="Id" />
                <asp:BoundField DataField="DateUpdated" HeaderText="DateUpdated" SortExpression="DateUpdated" />
                <asp:BoundField DataField="Title" HeaderText="Title" SortExpression="Title" />
                <asp:BoundField DataField="Description" HeaderText="Description" SortExpression="Description" />
                <asp:BoundField DataField="Filename" HeaderText="Filename" SortExpression="Filename" />
                <asp:BoundField DataField="VersionId" HeaderText="VersionId" SortExpression="VersionId" />
            </Columns>
            <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
            <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
            <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
            <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
        </asp:GridView>
        <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" DataObjectTypeName="Com.Grubbland.Data.Objects.Media"
            InsertMethod="InsertMediaItem" SelectMethod="GetMediaList" TypeName="Com.Grubbland.Data.Access.MediaServiceImpl"
            UpdateMethod="UpdateMediaItem"></asp:ObjectDataSource>
        &nbsp; &nbsp;<br />
        &nbsp;</div>
    </form>
</body>
</html>
